import { lazy } from 'react';
const AboutUs = lazy(() => import('@/pages/about-us'));
const ContactUs = lazy(() => import('@/pages/contact-us'));
export interface RouteConfig {
    path: string;
    label: string;
    component: React.ComponentType;
    showInHeader: boolean; // 控制是否在Header中显示
}

const routes: RouteConfig[] = [
    {
        path: '/about',
        label: 'About Us',
        component: AboutUs,
        showInHeader: true
    },
    {
        path: '/contact',
        label: 'Contact Us',
        component: ContactUs,
        showInHeader: true
    },
];

export default routes;